/**
 * 首页 model层
 */
module.exports = function( App, doMsql ){
    var app = App.app;
    return {
        searchTest: function( pms, res, key ){
            
            doMsql.select({
                tableName: 'track', // 必选字段
                pms: pms, // 必选字段
                dataKey: key // 必选字段
            }, res)
            
        },
        searchTest2: function( pms, res, key ){
            
            doMsql.select({
                tableName: 'music',
                pms: pms,
                dataKey: key
            }, res)
            
        }
    }
}